package org.whb.org.mapper;

import org.whb.basic.mapper.BaseMapper;
import org.whb.org.domain.Department;
import org.whb.org.query.DepartmentQuery;

import java.util.List;

/**
 * 部门的数据库接口
 */
public interface DepartmentMapper extends BaseMapper<Department>{

    /**
     * 部门树
     * @return
     */
    List<Department> loadDeptTree();
}
